<template>
  <div>
    <h1 @click="showName">学校名字：{{ name }}</h1>
    <h1>学校地址：{{ address }}</h1>
  </div>
</template>

<script>
import {hunhe} from '../mixin.js'
export default {

    name:'School',
    data(){
        return {
            name:'尚硅谷',
            address:'北京'
        }
    },
    // 局部混入
    // mixins:[hunhe]

};
</script>

<style></style>
